gtk: add missing nullable annotations to BoolFilter
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Mon, 22 Mar 2021 11:42:13 +0000 (12:42 +0100)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Mon, 22 Mar 2021 11:42:13 +0000 (12:42 +0100)
gtk/gtkboolfilter.c

index 12c2486d1c17d0b53085eb8c17039bdfbf810ff3..52f917186ba18de326956da6a7413c2fe6a4931e 100644 (file)
@@ -214,7 +214,7 @@ gtk_bool_filter_new (GtkExpression *expression)
  * Gets the expression that the filter uses to evaluate if
  * an item should be filtered.
  *
- * Returns: (transfer none): a `GtkExpression`
+ * Returns: (transfer none) (nullable): a `GtkExpression`
  */
 GtkExpression *
 gtk_bool_filter_get_expression (GtkBoolFilter *self)
@@ -227,7 +227,7 @@ gtk_bool_filter_get_expression (GtkBoolFilter *self)
 /**
  * gtk_bool_filter_set_expression: (attributes org.gtk.Method.set_property=expression)
  * @self: a `GtkBoolFilter`
- * @expression: a `GtkExpression`
+ * @expression: (nullable): a `GtkExpression`
  *
  * Sets the expression that the filter uses to check if items
  * should be filtered.